package org.springblade.modules.mes.opcua.listener;

import lombok.extern.slf4j.Slf4j;
import org.springblade.modules.mes.opcua.itf.OpcUa;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class OpcUaRunner implements ApplicationRunner {

	@Override
	public void run(ApplicationArguments args) {
		OpcUa.getInstance().init();
	}
}
